<template>
  <div class="common-layout">
    <el-container class="lay-container">
      <common-aside />
      <el-container>
        <el-header class="el-header"><common-header /></el-header>
        <common-tab />
        <el-main class="right-main">
          <router-view />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup>
import CommonHeader from "@/components/CommonHeader.vue";
import CommonAside from "@/components/CommonAside.vue";
import CommonTab from "@/components/CommonTab.vue";
</script>

<style lang="less" scoped>
.common-layout,
.lay-container {
  height: 100%;
}
.el-header {
  background-color: #333;
  padding: 0 20px;
}
</style>
